//详情页js
//var jokeId = getParam(location.href,'id')
//var url = "http://jokesday.duapp.com/joke/share/detail.future";
//var url = "http://192.168.1.150:8088/joke/share/detail.future";

/*function pageInit(){
	$.ajax({
		url:url,
		data:{
			jokeId:jokeId
		},
		dataType:"json",
		cache:false,
		success:function(data){
			$("#detail_title").html(data.title);
			$("#detail_content").html(data.content);
		},
		error : function(msg) {  
            //alert("加载失败");  
        }  
	});
	
}
*//**
 * 获取跳转过来的url参数
 * @param url
 * @param key
 * @returns
 *//*
function getParam(url,key){
	var re = new RegExp(key + '=([^&]*)(?:&)?');  
    return url.match(re) && url.match(re)[1];
}
$(document).ready(function(){
	//获取设备信息
	pageInit();
});*/